package edu.stu.cs.software.family.customer.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import edu.stu.cs.software.family.base.domain.BaseEntity;

@Table(name = "O_CUSTOMER")
@Entity
public class Customer extends BaseEntity<Long>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3221604133997144888L;

	@Column(name = "PHONE")
	String phone;
		
	@Column(name = "REALNAME")
	String realName;
	
	@Column(name = "POSTCODE")
	String postcode;
	
	@Column(name = "PASSWORD")
	String password;
	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	
}
